<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        div{
            width: 300px;
            height: 200px;
            background-color: pink;
            /* font-size: 30px;
            font-weight: bold;
            font-style: oblique;
            line-height: 200px; */
            /* 复合写法 */
            font: bold oblique 30px/200px '微软雅黑';
        }
    </style>
</head>
<body>
    <div>再骗我卡了你就是小狗</div>
</body>
</html>
<!--
    字体设置的复合写法
        属性：font
        属性值:font-style font-weight font-szie/line-height font-family 
        注意：font-family 不能漏掉,即使不去设置类型也要写默认的微软雅黑
  -->